/*
 *  Notifier.h
 *  AMPlugin
 *
 *  Created by Vu Tiet on 7/9/12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 *	References: http://svolkov.blogspot.com/2009/01/delegation-pattern-in-c-my-recipe.html
 */

#include "DelegationPattern.h"
//#include <iostream>  
//using namespace std;  

class Notifier : public INotifier  
{  
	public:  
		void NotifyAll(int j);  
		void Notify(int j);
		
	/*
	 * Singleton Pattern
	 */
	public:
		static Notifier* iInstance;
		
	public:
		static Notifier* GetInstance();
	
	private:
		// private constructor
		Notifier();
};  



